<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:shapes="clr-namespace:OhZeeCreative.Silverlight.UI.Shapes">

    <Style TargetType="shapes:Checkers">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="shapes:Checkers">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" >
                        <Polygon x:Name="polygon" Fill="{TemplateBinding Foreground}" />
                    </Border>
                </ControlTemplate>

            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="shapes:Sunburst">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="shapes:Sunburst">
                    <Border BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Path 
                            Fill="{TemplateBinding Foreground}" 
                            Stroke="{TemplateBinding Edge}"
                            StrokeThickness="{TemplateBinding EdgeThickness}"
                            Clip="{TemplateBinding PathClip}" >
                            <Path.Data>
                                <PathGeometry>
                                    <PathFigure x:Name="rays" IsFilled="True"/>
                                </PathGeometry>
                            </Path.Data>
                        </Path>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="shapes:Starburst">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="shapes:Starburst">
                    <Border BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Path 
                            Fill="{TemplateBinding Foreground}" 
                            Stroke="{TemplateBinding Edge}"
                            StrokeThickness="{TemplateBinding EdgeThickness}"
                            Clip="{TemplateBinding PathClip}" >
                            <Path.Data>
                                <PathGeometry>
                                    <PathFigure x:Name="rays" IsFilled="True"/>
                                </PathGeometry>
                            </Path.Data>
                        </Path>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>


</ResourceDictionary>
